package hutool.clone;

import java.math.BigDecimal;

/**
 * @author : ZhuQi
 * @version : 时间:2022/4/20 15:50 版本:
 */
public class Cat implements Cloneable{
    private String name;
    private Integer i = null;
    private BigDecimal o = null;

    public Cat() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getI() {
        return i;
    }

    public void setI(Integer i) {
        this.i = i;
    }

    public Cat(String name, Integer i) {
        this.name = name;
        this.i = i;
    }

    public Cat(String name, Integer i, BigDecimal o) {
        this.name = name;
        this.i = i;
        this.o = o;
    }

    public BigDecimal getO() {
        return o;
    }

    public void setO(BigDecimal o) {
        this.o = o;
    }

    @Override
    protected Cat clone() throws CloneNotSupportedException {
        return (Cat) super.clone();
    }
}
